package com.exchange.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.exchange.entity.pojo.CardDisplay;
import com.exchange.mapper.CardDisplayMapper;
import com.exchange.service.CardDisplayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author Administrator
* @description 针对表【card_display】的数据库操作Service实现
* @createDate 2024-04-25 20:02:10
*/
@Service
public class CardDisplayServiceImpl extends ServiceImpl<CardDisplayMapper, CardDisplay>
    implements CardDisplayService{

    @Autowired
    private CardDisplayMapper cardDisplayMapper;

    @Override
    public Page<CardDisplay> CardKist(Integer offset, Integer pagesize) {
        Page page = new Page(offset,pagesize);
        Page<CardDisplay> page1 = this.cardDisplayMapper.pages(page);
        return page1;
    }
}




